#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include <stdlib.h>
#include <sys/time.h>

int main(int argc,char **argv)
{
  struct timeval tpstart,tpend; 
  float timeuse; 
  int64_t ab = UINT64_C(1000000000);
  
  float x=0.123456789123456789L;
  int64_t i = 0;
  
  if(0.123456789123456789L==x)
    printf("yes\n");
  else
    printf("no\n");
  //  a(1);

  gettimeofday(&tpstart,NULL);
  for(i=0;i<ab;i++)
    {
      
    }   
  gettimeofday(&tpend,NULL);
  timeuse=1000000*(tpend.tv_sec-tpstart.tv_sec)+ 
    tpend.tv_usec-tpstart.tv_usec;
  
  timeuse/=1000000;
  
  printf(" -- Used Time:%f\n",timeuse);

  gettimeofday(&tpstart,NULL);  
  for(i=ab;i>0;i--)
    {
    } 
    gettimeofday(&tpend,NULL);
  timeuse=1000000*(tpend.tv_sec-tpstart.tv_sec)+ 
    tpend.tv_usec-tpstart.tv_usec;
  timeuse/=1000000;
  printf(" ++ Used Time:%f\n",timeuse);
  return 0;
}
